package com.micro.modual.entity;

import javax.persistence.Id;

import lombok.Data;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * <h1>专区表表 micro_prefecture</h1>
 *
 * @author levelcoder
 * @date 2020-08-04 00:11:10
 */
@ApiModel(description = "专区表")
@Data
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "micro_prefecture")
public class Prefecture implements Serializable {

    private static final long serialVersionUID = 1L;

    @Id
    @ApiModelProperty(value = "主键编号")
    private Long id;


    /**
     * 专区编号
     */
    @ApiModelProperty(value = "专区编号")
    private String prefectureCode;


    /**
     * 专区主体名称
     */
    @ApiModelProperty(value = "专区主体名称")
    private String prefectureName;


    /**
     * 专区副标题
     */
    @ApiModelProperty(value = "专区副标题")
    private String prefectureSketch;


    /**
     * 专区封面图
     */
    @ApiModelProperty(value = "专区封面图")
    private String prefectureLogo;


    /**
     * 专区背景图
     */
    @ApiModelProperty(value = "专区背景图")
    private String prefectureBackdrop;


    /**
     * 单品数量
     */
    @ApiModelProperty(value = "单品数量")
    private Integer goodsNumber;


    /**
     * 专区浏览量
     */
    @ApiModelProperty(value = "专区浏览量")
    private Integer browsingVolume;


    /**
     * 排序
     */
    @ApiModelProperty(value = "排序")
    private Integer prefectureSort;


    /**
     * 是否显示  1.显示 2.不显示
     */
    @ApiModelProperty(value = "是否显示  1.显示 2.不显示")
    private Byte isShow;


    /**
     * 修改时间
     */
    @ApiModelProperty(value = "修改时间")
    private Date updateTime;


    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

}
